翻訳と辞書
Words near each other
・ Hasford Heights, California
・ Hasgebe, Serik
・ Hasguard
・ Hash
・ Hash (food)
・ Hash (Unix)
・ Hash array mapped trie
・ Hash Bash
・ Hash BioTech Labs
・ Hash browns
・ Hash buster
・ Hash cakes
・ Hash calendar
・ Hash chain
・ Hash Code cracker
Hash consing
・ Hash filter
・ Hash function
・ Hash function security summary
・ Hash House
・ Hash House a go go
・ Hash House Bikers
・ Hash House Harriers
・ Hash Island
・ Hash Jar Tempo
・ Hash join
・ Hash Kanjee
・ Hash key
・ Hash list
・ Hash marks


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Hash consing : ウィキペディア英語版
Hash consing
In computer science, particularly in functional programming, hash consing is a technique used to share values that are structurally equal. The term ''hash consing'' originates from implementations of Lisp that attempt to reuse cons cells that have been constructed before, avoiding the penalty of memory allocation. Hash consing is most commonly implemented with hash tables storing weak references that may be garbage-collected when the data stored therein contains no references from outside the table. Hash consing has been shown to give dramatic performance improvements—both space and time—for symbolic and dynamic programming algorithms. An interesting property of hash consing is that two structures can be tested for equality in constant time, which in turn can improve complexity of divide and conquer algorithms when data sets contain overlapping blocks.
In other communities a similar idea is known as the Flyweight pattern. When applied to strings this technique is also known as ''string interning''.
== Examples ==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Hash consing」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.